FROM nginx
ENV WEB /var/www/html
ADD tools/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80 90
CMD nginx -g 'daemon off;'









#组件
#RUN apt-get install -y gcc g++  libiconv-hook-dev libxml2-dev  libcurl4-openssl-dev
#RUN docker-php-ext-install zip  pcntl sockets  sysvmsg sysvsem sysvshm shmop soap  opcache  xmlrpc
#RUN pecl install swoole &&docker-php-ext-enable swoole
#RUN php --ri swoole
